<template>
  <div class="count">
    <h2>我是count组件</h2>
    <p>笔记本的价格是:{{ price | add$ }}</p>
    <p v-bgColor="'orange'">自定义指令orange</p>
    <p v-bgColor="'green'">自定义指令green</p>
  </div>
</template>

<script>
export default {
  data() {
    return {
      price: 49999,
    };
  },
};
</script>

<style scoped>
.count {
  background-color: pink;
}
</style>